package io.renren.modules.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.user.entity.TPeopleFireDetachmentEntity;

import java.util.List;
import java.util.Map;

/**
 * 支队类型表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-08-09 13:03:54
 */
public interface TPeopleFireDetachmentService extends IService<TPeopleFireDetachmentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /*
    *所有支队
    * */
    List<TPeopleFireDetachmentEntity> listDept(String parentId,String squadron);

    List<TPeopleFireDetachmentEntity> listZDept(String parentId,String deptId);

    /**
     * 组织架构
     */
    PageUtils organizationalStructure(Map<String, Object> params);


}

